<?php

$config = array(
    'register' => array(
        array(
            'field' => 'first_name',
            'label' => 'First name',
            'rules' => 'required'
        ),
        array(
            'field' => 'last_name',
            'label' => 'Last name',
            'rules' => 'required'
        ),
        array(
            'field' => 'password',
            'label' => 'Password',
            'rules' => 'trim|required|matches[passconf]'
        ),
        array(
            'field' => 'passconf',
            'label' => 'Password Confirmation',
            'rules' => 'required'
        ),
        array(
            'field' => 'email',
            'label' => 'Email',
            'rules' => 'required|valid_email'
        )
    )
);
?>